<?php
/*
// module/Album/src/Album/Form/AlbumForm.php:

namespace Site\Form;

use Zend\Form\Form;

class UsersForm extends Form {

    public function __construct($name = null) {
        // we want to ignore the name passed
        parent::__construct('users');
        $this->setAttribute('method', 'post');
//        $this->add(array(
//            'name' => 'id',
//            'attributes' => array(
//                'type' => 'text',
//            ), 'options' => array(
//                'label' => 'Id',
//            ),
//        ));
         $this->add(array(
            'name' => 'id',
            'attributes' => array(
                'type'  => 'hidden',
            ),
        ));
        
        $this->add(array(
            'name' => 'name',
            'attributes' => array(
                'type' => 'text',
            ), 'options' => array(
                'label' => 'Name',
            ),
        ));

        $this->add(array(
            'name' => 'last_name',
            'attributes' => array(
                'type' => 'text',
            ),
            'options' => array(
                'label' => 'lastName',
            ),
        ));
        $this->add(array(
            'name' => 'first_name',
            'attributes' => array(
                'type' => 'text',
            ),
            'options' => array(
                'label' => 'firstName',
            ),
        ));

        $this->add(array(
            'name' => 'comments',
            'attributes' => array(
                'type' => 'text',
            ),
            'options' => array(
                'label' => 'comments',
            ),
        ));

        $this->add(array(
            'name' => 'pasport',
            'attributes' => array(
                'type' => 'text',
            ),
            'options' => array(
                'label' => 'pasport',
            ),
        ));

        $this->add(array(
            'name' => 'submit',
            'attributes' => array(
                'type' => 'submit',
                'value' => 'Go',
                'id' => 'submitbutton',
            ),
        ));
    }

}

*/
